package com.py.custom.tms.application.jvm.classload;

public class MyTest12 {

    public static void main(String[] args) throws Exception {
        ClassLoader loader = ClassLoader.getSystemClassLoader();
        Class<?> clazz = loader.loadClass("com.py.custom.tms.application.jvm.classload.CL");
        System.out.println(clazz);

        System.out.println("---------");

        clazz = Class.forName("com.py.custom.tms.application.jvm.classload.CL");
        System.out.println(clazz);
    }
}

class CL {

    static {
        System.out.println("class CL");
    }
}
